package com.tangpian.sna.core.analysis.polarity.model;

import javax.persistence.Entity;
import javax.persistence.Id;

import com.tangpian.sna.core.model.Result;

@Entity
public class ItemSentimentScore extends Result {

	@Id
	private String itemId;

	private double score;

	public ItemSentimentScore() {

	}

	public ItemSentimentScore(String itemId, double score, String taskId) {
		this.itemId = itemId;
		this.score = score;
		this.setTaskId(taskId);
	}

	public String getItemId() {
		return itemId;
	}

	public void setItemId(String itemId) {
		this.itemId = itemId;
	}

	public double getScore() {
		return score;
	}

	public void setScore(double score) {
		this.score = score;
	}

}
